/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

export default {
  path: '/students',
  component: Layout,
  redirect: 'noRedirect',
  name: 'Student',
  meta: {
    title: '学生管理',
    icon: 'peoples'
  },
  alwaysShow: true,
  children: [
    {
      path: 'ui',
      component: () => import('@/views/students/index'),
      name: 'StudentUi',
      meta: { title: 'UI', noCache: false, class_type: 1 }
    },
    {
      path: 'h5',
      component: () => import('@/views/students/index'),
      name: 'StudentH5',
      meta: { title: '前端', noCache: false, class_type: 2 }
    }
  ]
}

